<?php
/**
 * Created by PhpStorm.
 * User: gzc0918
 * Date: 2021-08-07
 * Time: 0:28
 */

namespace IMooc;

//男性用户策略
class MaleUserStrategy implements UserStrategy
{
    function showAd()
    {
        echo "IPhone11";
    }
    function showCategory()
    {
        echo "电子产品类目";
    }
}